.custom-select-wrapper {
    display: flex;
    align-items: center; /* Align vertically in the center */
}

.custom-select {
    width: auto;
    min-width: 200px;
    border: 2px solid #ccc;
    border-radius: 10px;
    overflow: hidden;
    font-size: 16px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 5px;
    background-color: white;
    height: 45px; /* Ensure same height as the button */
}

.toggle-button {
    margin-left: 10px;
    padding: 0 15px;
    font-size: 16px;
    background-color: darkgrey;
    border: none;
    border-radius: 10px;
    color: white;
    cursor: pointer;
    height: 45px; /* Ensure same height as the select box */
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.toggle-button:hover {
    background-color: #bbccdd;
}

.selected-item {
    margin-top: 4px;
    display: inline-block;
    border: 2px solid #ccc;
    border-radius: 10px;
    padding: 5px 10px;
    margin-right: 5px;
    margin-bottom: 5px;
    cursor: pointer;
    background-color: #f7f2f2;
    font-size: 0.9rem;
}

.selected-item .remove-icon {
    margin-left: 10px;
    cursor: pointer;
    padding: 2px 5px;
    background-color: #ebe5e5;
    border: 1px solid #999;
    border-radius: 4px;
    font-size: 0.8rem;
}

.selected-item .remove-icon:hover {
    background-color: #aaa;
}

.select-dropdown {
    display: none;
    position: absolute;
    width: 200px;
    max-height: 200px;
    border: 2px solid #ccc;
    border-radius: 10px;
    overflow-y: auto;
    background-color: white;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.select-dropdown.show {
    display: block;
}

.select-dropdown::-webkit-scrollbar {
    display: none;
}

.select-dropdown .option {
    padding: 8px 10px;
    border-radius: 10px;
    cursor: pointer;
    margin: 5px;
    border: 1px solid #ccc;
    text-align: center;
    background-color: white;
}

.select-dropdown .option.disabled {
    color: #999;
    pointer-events: none;
    background-color: #f0f0f0;
}

.option:hover {
    background-color: floralwhite;
}

.selected-container {
    margin-bottom: 5px;
    margin-top: -5px;
}

.error-message {
    color: red;
    font-size: 14px;
    margin-bottom: 10px;
}